﻿<Window x:Class="Sokoban.EditorWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="EditorWindow" Height="300" Width="500" Name="EditorWindowForm">
    <Grid Margin="0,0,-8,0">
        <Grid.RowDefinitions>
            <RowDefinition Height="7*"/>
            <RowDefinition Height="128*"/>
        </Grid.RowDefinitions>
        <Menu x:Name="Menu" HorizontalAlignment="Stretch" Height="32" VerticalAlignment="Top"  Grid.RowSpan="2" RenderTransformOrigin="0.502,0.875">
            <MenuItem Header="File" >
                <MenuItem x:Name="menuNew" Header="Create New Grid" Click="menuNew_Click"></MenuItem>
                <MenuItem x:Name="menuLoad" Header="Load Map" Click="menuLoad_Click"></MenuItem>
                <MenuItem x:Name="menuCheck" Header="Check Map" Click="menuCheck_Click"></MenuItem>
                <MenuItem x:Name="menuSolver" Header="Solver" Click="menuSolver_Click" IsEnabled="False"></MenuItem>
                <MenuItem x:Name="menuSave" Header="Save Map" Click="menuSave_Click" IsEnabled="False"></MenuItem>
                <MenuItem x:Name="menuClose" Header="Close Editor" Click="menuClose_Click"></MenuItem>
            </MenuItem>
            <MenuItem x:Name="gridPlayer" Header="Player" Click="gridControl_Click" Tag="4" />
            <MenuItem x:Name="gridBarrier" Header="Wall" FontWeight="Bold" Click="gridControl_Click" Tag="0" />
            <MenuItem x:Name="gridEmpty" Header="Empty" Click="gridControl_Click" Tag="1" />
            <MenuItem x:Name="gridBox" Header="Box" Click="gridControl_Click" Tag="2" />
            <MenuItem x:Name="gridGoal" Header="Goal" Click="gridControl_Click" Tag="3" />
        </Menu>
        <Grid x:Name="ButtonGrid" HorizontalAlignment="Stretch" Margin="0,12,0,0" VerticalAlignment="Stretch" Grid.Row="1" />
    </Grid>
</Window>
